#pragma once
#include "stdafx.h"
#include "menu.h"
#include "DemoMenu.h"
#include "MessageArray.h"
#include "Messages.h"

class MainMenu :
    public Menu
{
public:
    MainMenu(void);
    virtual ~MainMenu(void);
	//Display main menu.
	//Main menu contains following items:
	//    1. Run Demo.
	//    2. World Size Config.
	//    3. Loop config.
	//    4. Life config, i.e., matrix config.
    virtual void show() const;
    virtual void keyboardListener(char const& key);
    virtual bool fire();
private:
    //DemoMenu demoMenu;     now put to MainFrame
};
